package com.zfy.cmsservice.service;

import com.zfy.cmsservice.entity.Teachers;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zfy.cmsservice.entity.query.TeacherQuery;
import com.zfy.commonutils.R;

import java.util.List;

/**
 * <p>
 * 教师表 服务类
 * </p>
 *
 * @author testjava
 * @since 2023-11-05
 */
public interface TeachersService extends IService<Teachers> {
    /**
     * 分页查询讲师
     * @param page 当前页数
     * @param size 每页数量
     * @param teacherQuery 教师查询条件
     * @return R
     */
    R pageTeacherCondition(long page, long size, TeacherQuery teacherQuery);

    List<Teachers> findAllTeacher();
}
